package com.yjd.start;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ImportResource;

/**
 * 用户服务启动入口
 * Created by yangchangyan@yijiedai.com on 2018-12-25 11:43.
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.yjd"})
@ImportResource("classpath:spring.xml")
public class UserServerApplication {
  public static void main(String[] args) {
    SpringApplication.run(UserServerApplication.class, args);
  }
}
